package com.zipou.framework.gwt.client.widget.suggest;

import com.google.gwt.user.client.rpc.IsSerializable;
import com.google.gwt.user.client.ui.MultiWordSuggestOracle.MultiWordSuggestion;

public class GenericMultiWordSuggestion <T extends IsSerializable> extends MultiWordSuggestion {
	private T dto = null;

	public GenericMultiWordSuggestion(T user) {
		super(user.toString(), user.toString());
		this.dto = user;
	}


	/**
	 * @return the personDTO
	 */
	public T getDTO()
	{
		return dto;
	}
}
